package com.lrkj.back.service.impl;

import cn.com.cbons.mamisay.parent.db.api.DBInterface;
import cn.com.cbons.mamisay.parent.service.base.ParentServiceImpl;
import com.lrkj.back.entity.SendIm;
import com.lrkj.back.mapper.SendImMapper;
import com.lrkj.back.service.SendImservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by daiwe on 2017/11/23.
 */
@Service
public class SendImserviceImpl extends ParentServiceImpl<SendIm> implements SendImservice {

    @Autowired
    public SendImMapper sendImMapper;

    @Override
    protected DBInterface<SendIm> getDao() {
        return sendImMapper;
    }

    @Override
    public List<SendIm> findAll(Map<String,Object> map) {
        return sendImMapper.findAll(map);
    }
}
